/* 
 * File:   string_utils.h
 * Author: kedzior
 *
 * Created on 8 maj 2011, 23:01
 */

#ifndef STRING_UTILS_H
#define	STRING_UTILS_H

#ifdef	__cplusplus
extern "C" {
#endif

    // includes
    #include "main_h.h"
    #include "globals.h"
    #include "errors.h"
    #include "string_struct.h"
    // end includes
    
    //  definitions
    void *mycalloc(unsigned int,unsigned int);
    void *mymalloc(unsigned int);
    void dump_sc(string_cell_t);
    void dump_sm(string_main_t);
    void init_struct_string();
    void print_list(string_main_t);
    string_cell_t add_string_cell(string_main_t,char *,char *,unsigned int,unsigned int);
    void delete_string_cell(char *,string_cell_t);
    // end definitions

#ifdef	__cplusplus
}
#endif

#endif	/* STRING_UTILS_H */

